/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.util.Calendar;

/**
 * <p>Project: jse2204 - Switch1
 * <p>Powered by webrx On 2022-09-02 14:48:52
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Switch1 {
    public static void main(String[] args) {
        var c = Calendar.getInstance();
        var k = c.get(Calendar.DAY_OF_WEEK);
        var s = "";
        switch(k){
            case 1:
                s = "星期日";
                break;
            case 2:
                s = "星期一";
                break;
            case 3:
                s = "星期二";
                break;
            case 4:
                s = "星期三";
                break;
            case 5:
                s = "星期四";
                break;
            case 6:
                s = "星期五";
                break;
            default:
                s = "星期六";
                break;
        }
        System.out.println(s);

    }
}
